ROC from Probabilities¶
Computes Receiver operating characteristics (ROC) based on calculated Y-probabilities and from true Y.
Documentation
Computes Receiver operating characteristics (ROC) based on calculated Y-probabilities and from true Y.
Configuration:
pos_label
The label of the positive class. When
pos_label=None, if y_true is in {-1, 1} or {0, 1},pos_labelis set to 1, otherwise an error will be raised.drop_intermediate
Whether to drop some suboptimal thresholds which would not appear on a plotted ROC curve. This is useful in order to create lighter ROC curves.
New in version 0.17: parameter drop_intermediate.
header as label
Use header of Y-prob as the target label
Attributes:
- Input ports:
 - Y-probtable
 Y-prob
- Y-truetable
 Y-true
- Output ports:
 - roctable
 roc
Definition
Input ports
- Y-prob
 table
Y-prob
- Y-true
 table
Y-true
Output ports
- roc
 table
roc
- 
class 
node_metrics.ROCFromProb[source]